package com.dianban.dao;

import com.dianban.entity.WxUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WxUserDao {

    WxUser findByOpenId(@Param("openId") String  openId);

    int insert(WxUser wxUser);

    WxUser findBySmallOpenId(@Param("smallOpenId") String  smallOpenId);
}
